package com.zhixiang.xaec.entity.safebase.securitySystem;

import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;

import org.hibernate.cfg.Comment;

import com.googlecode.jsonplugin.annotations.JSON;
import com.zhixiang.xaec.entity.BaseEntity;

@Entity
@Table(name="safebase_instituArchRev")
@Comment("制度档案")
public class InstituArchRev extends BaseEntity{
    
    private Long institutionalId;//制度id外键
    
    private String instilNo;//制度编号
    
    private String instiName;//制度名称
    
    private String instiDescribe;//制度描述
    
    private String instiVersion;//版本号
    
    private Date  taskEffiveTime;//生效时间
    
    private String revisePeople;//修订人
    
    private String reviseDept;//修订部门
    
    private Date reviseTime;//修订时间
    
    private String state;//区分制度状态：新增/修订
    
    @Comment("制度id外键")
    public Long getInstitutionalId() {
        return institutionalId;
    }

    public void setInstitutionalId(Long institutionalId) {
        this.institutionalId = institutionalId;
    }

    @Comment("制度编号")
    public String getInstilNo() {
        return instilNo;
    }

    public void setInstilNo(String instilNo) {
        this.instilNo = instilNo;
    }

    @Comment("制度名称")
    public String getInstiName() {
        return instiName;
    }

    public void setInstiName(String instiName) {
        this.instiName = instiName;
    }

    @Comment("制度描述")
    @Column(length=2000)
    public String getInstiDescribe() {
        return instiDescribe;
    }

    public void setInstiDescribe(String instiDescribe) {
        this.instiDescribe = instiDescribe;
    }

    @Comment("版本号")
    public String getInstiVersion() {
        return instiVersion;
    }

    public void setInstiVersion(String instiVersion) {
        this.instiVersion = instiVersion;
    }

    @Comment("生效时间")
    @JSON(format="yyyy-MM-dd")
    public Date getTaskEffiveTime() {
        return taskEffiveTime;
    }

    public void setTaskEffiveTime(Date taskEffiveTime) {
        this.taskEffiveTime = taskEffiveTime;
    }

    @Comment("修订人")
    public String getRevisePeople() {
        return revisePeople;
    }

    public void setRevisePeople(String revisePeople) {
        this.revisePeople = revisePeople;
    }

    @Comment("修订部门")
    public String getReviseDept() {
        return reviseDept;
    }

    public void setReviseDept(String reviseDept) {
        this.reviseDept = reviseDept;
    }

    @Comment("修订时间")
    @JSON(format="yyyy-MM-dd")
    public Date getReviseTime() {
        return reviseTime;
    }

    public void setReviseTime(Date reviseTime) {
        this.reviseTime = reviseTime;
    }

    @Comment("区分制度状态：新增/修订")
    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    
}
